package cn.waxcc.service.impl;

import cn.waxcc.mapper.HrsPatientRegistrationMapper;
import cn.waxcc.pojo.HrsPatientRegistration;
import cn.waxcc.service.HrsPatientRegistrationService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

/**
 * 功能说明
 *
 * @author HZ
 * @date 2023-04-11 18:51:36
 */
@Service
public class HrsPatientRegistrationServiceImpl implements HrsPatientRegistrationService {
    @Autowired
    private HrsPatientRegistrationMapper hrsPatientRegistrationMapper;

    @Override
    public List<HrsPatientRegistration> queryallPatient() {
        return hrsPatientRegistrationMapper.queryallPatient();
    }

    @Override
    public void insPatient(HrsPatientRegistration hrsPatientRegistration) {
        hrsPatientRegistrationMapper.insPatient(hrsPatientRegistration);
    }

    @Override
    public List<HrsPatientRegistration> BySearchPatient(String pName, String pStatusid, String pPhone) {
        return hrsPatientRegistrationMapper.BySearchPatient(pName,pStatusid,pPhone);
    }


}
